package com.dingding.common.core.beans;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @ClassName: UserCoupon 
 * @Description: 用户优惠券实体类
 * @author YHQ
 * @date 2016年2月2日 下午7:41:54
 */
@SuppressWarnings("serial")
public class UserCoupon implements Serializable{

	private String ucId;			//主键Id
	private String loginId;			//所属用户
	private Integer couponId;		//优惠券Id
	private Integer couponType;		//优惠券类型 (1：洗车券 2：现金券 3：打折券)
	private Integer couponMoney;			//优惠金额
	private Date createTime;		//创建时间
	private Date consumeTime;		//消费时间
	private Date expiredTime;		//过期时间
	private Integer couponStatus;	//优惠券状态(1：未激活 2：已激活 3：已使用 4：禁止使用  说明：  未激活状态为该优惠券需要用户分享app到朋友圈才可以用)
	private String twoDimensionCodeImageName; //二维码图片
	private String shopAst;	//扫码人
	
	/**
	 * 
	 * 优惠券业务重构时添加
	 * @author CHEHUANBO
	 * @since V2.6.2
	 * 
	 */
	private Integer useScope ;// 使用范围 1：顺风车2：专车3：出租车 4：全部 
	private Integer cityScope;  //城市限制 1： 不限制 2：限制 
	private Integer enoughMoney;// 满多少钱可以使用 ,当优惠券类型为打折券的时候此属性起作用
	private Integer maximum;//  最高抵扣,当优惠券类型为打折券的时候此属性起作用
	private BigDecimal couponDiscounts; // 折扣，当优惠券类型为打折券的时候此属性起作用
	
	
	
	
	
	public Integer getUseScope() {
		return useScope;
	}
	public void setUseScope(Integer useScope) {
		this.useScope = useScope;
	}
	public Integer getCityScope() {
		return cityScope;
	}
	public void setCityScope(Integer cityScope) {
		this.cityScope = cityScope;
	}
	public Integer getEnoughMoney() {
		return enoughMoney;
	}
	public void setEnoughMoney(Integer enoughMoney) {
		this.enoughMoney = enoughMoney;
	}
	public Integer getMaximum() {
		return maximum;
	}
	public void setMaximum(Integer maximum) {
		this.maximum = maximum;
	}
	public BigDecimal getCouponDiscounts() {
		return couponDiscounts;
	}
	public void setCouponDiscounts(BigDecimal couponDiscounts) {
		this.couponDiscounts = couponDiscounts;
	}
	public String getUcId() {
		return ucId;
	}
	public void setUcId(String ucId) {
		this.ucId = ucId;
	}
	public String getLoginId() {
		return loginId;
	}
	public void setLoginId(String loginId) {
		this.loginId = loginId;
	}
	
	public Integer getCouponId() {
		return couponId;
	}
	public void setCouponId(Integer couponId) {
		this.couponId = couponId;
	}
	public Integer getCouponType() {
		return couponType;
	}
	public void setCouponType(Integer couponType) {
		this.couponType = couponType;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	public Date getConsumeTime() {
		return consumeTime;
	}
	public void setConsumeTime(Date consumeTime) {
		this.consumeTime = consumeTime;
	}
	public Date getExpiredTime() {
		return expiredTime;
	}
	public void setExpiredTime(Date expiredTime) {
		this.expiredTime = expiredTime;
	}
	public Integer getCouponStatus() {
		return couponStatus;
	}
	public void setCouponStatus(Integer couponStatus) {
		this.couponStatus = couponStatus;
	}
	public String getTwoDimensionCodeImageName() {
		return twoDimensionCodeImageName;
	}
	public void setTwoDimensionCodeImageName(String twoDimensionCodeImageName) {
		this.twoDimensionCodeImageName = twoDimensionCodeImageName;
	}
	public String getShopAst() {
		return shopAst;
	}
	public void setShopAst(String shopAst) {
		this.shopAst = shopAst;
	}
	public Integer getCouponMoney() {
		return couponMoney;
	}
	public void setCouponMoney(Integer couponMoney) {
		this.couponMoney = couponMoney;
	}
	
	
	

}
